package cn.tqfeiyang.smartadmin.business.organization.request;

import java.time.LocalDateTime;
import io.swagger.v3.oas.annotations.media.Schema;
import cn.tqfeiyang.smartadmin.commons.pagination.*;
import lombok.Data;

import cn.tqfeiyang.smartadmin.business.organization.response.AddressQueryVO;

/**
 * 地址查询请求
 *
 * @author tqfeiyang
 * @since 2024-10-18
 */
@Data
public class AddressQueryDTO extends PageParams {

    /**
     * 排序字段
     */
    @Schema(description = "排序字段")
    private AddressQueryVO.Fields orderBy = AddressQueryVO.Fields.address;

    /**
     * 排序方式 asc：升序，desc：降序
     */
    @Schema(description = "排序方式 asc：升序，desc：降序")
    private OrderDirection direction = OrderDirection.asc;

    /**
     * 关键字
     */
    @Schema(description = "关键字")
    private String keywords;

    /**
     * 地址
     */
    @Schema(description = "地址")
    private String address;

    /**
     * 员工id
     */
    @Schema(description = "员工id")
    private Long employeeId;
}